package com.gxa.saas.pojo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * @author CZJ
 * @date 2022/6/7 11:42
 */
@ApiModel
@AllArgsConstructor
@NoArgsConstructor
@Data
public class Goods implements Serializable {

    @ApiModelProperty(name = "id",value = "商品编号",dataType = "integer")
    private Integer id;
    @ApiModelProperty(name = "name",value = "商品名称",dataType = "string")
    private String name;
    @ApiModelProperty(name = "costPrice",value = "成本价格",dataType = "double")
    private Double costPrice;
    @ApiModelProperty(name = "norms",value = "商品规格",dataType = "string")
    private String norms;
    @ApiModelProperty(name = "factory",value = "生产厂商",dataType = "string")
    private String factory;
    @ApiModelProperty(name = "brandName",value = "品牌名称",dataType = "string")
    private String brandName;
    @ApiModelProperty(name = "goodsType",value = "商品类型",dataType = "string")
    private String goodsType;
    @ApiModelProperty(name = "bigUnit",value = "大单位",dataType = "string")
    private String bigUnit;
    @ApiModelProperty(name = "smallUnit",value = "小单位",dataType = "string")
    private String smallUnit;
    @ApiModelProperty(name = "isUsed",value = "启用状态",dataType = "Boolean")
    private Boolean isUsed;
}
